package com.example.demo.entity;

import lombok.Data;

/**
 * Author: wuhaoduan
 * Date: 2021/4/27 9:41
 */
@Data
public class RegionStats {

    /**
     * 地区
     */
    private String state;
    /**
     * 国家
     */
    private String country;
    /**
     * 最新确诊数
     */
    private int latestTotalCases;
    /**
     * 与昨日相差确诊数
     */
    private int diffFromPrevDay;

    public RegionStats(String state, String country, int latestTotalCases, int diffFromPrevDay) {
        this.state = state;
        this.country = country;
        this.latestTotalCases = latestTotalCases;
        this.diffFromPrevDay = diffFromPrevDay;
    }
}
